<h3 class="headline"><a href="#">Nastavení fotek výrobků</a></h3>

<div>
  <table>
    <tbody>
      <tr>
        <th><%= f.label :preferred_photo_use_watermark %></th>
        <td><%= f.check_box :preferred_photo_use_watermark %></td>
      </tr>
      <tr>
        <th><%= f.label :preferred_photo_watermark_path %></th>
        <td><%= f.text_field :preferred_photo_watermark_path, :size => 60 %></td>
      </tr>
      <tr>
        <th><%= f.label :preferred_photo_small_watermark_path %></th>
        <td><%= f.text_field :preferred_photo_small_watermark_path, :size => 60 %></td>
      </tr>
    </tbody>
  </table>

  <h4>Malý náhled v detailu výrobku</h4>

  <table>
    <tbody>
      <tr>
        <th><%= f.label :preferred_photo_size %></th>
        <td><%= f.text_field :preferred_photo_small_thumb_size, :size => 10, :disabled => true %> pixelů</td>
      </tr>
    </tbody>
  </table>

  <h4>Náhled v přehledu výrobků</h4>

  <table>
    <tbody>
      <tr>
        <th><%= f.label :preferred_photo_size %></th>
        <td><%= f.text_field :preferred_photo_thumb_size, :size => 10, :disabled => true %> pixelů</td>
      </tr>
      <tr>
        <th><%= f.label :preferred_photo_watermark_position %></th>
        <td><%= f.select :preferred_photo_thumb_watermark_position, {"Vlevo" => "left", "Vycentrovat" => "center", "Vpravo" => "right"} %></td>
      </tr>
    </tbody>
  </table>

  <h4>Náhled v detailu výrobku</h4>

  <table>
    <tbody>
      <tr>
        <th><%= f.label :preferred_photo_size %></th>
        <td><%= f.text_field :preferred_photo_small_size, :size => 10, :disabled => true %> pixelů</td>
      </tr>
      <tr>
        <th><%= f.label :preferred_photo_watermark_position %></th>
        <td><%= f.select :preferred_photo_small_watermark_position,  {"Vlevo" => "left", "Vycentrovat" => "center", "Vpravo" => "right"} %></td>
      </tr>
    </tbody>
  </table>

  <h4>Detail fotky v detailu výrobku</h4>

  <table>
    <tfoot>
      <tr>
        <th colspan="2"><%= f.submit %></th>
      </tr>
    </tfoot>
    <tbody>
      <tr>
        <th><%= f.label :preferred_photo_size %></th>
        <td><%= f.text_field :preferred_photo_large_size, :size => 10 %> pixelů</td>
      </tr>
      <tr>
        <th><%= f.label :preferred_photo_watermark_position %></th>
        <td><%= f.select :preferred_photo_large_watermark_position,  {"Vlevo" => "left", "Vycentrovat" => "center", "Vpravo" => "right"} %></td>
      </tr>
    </tbody>
  </table>
</div>